//设置mcBar的高度
function setMcBarHeight() {
	$(".mcBar").height($(".sticky-left-side").innerHeight());
	$(window).resize(function() {
		$(".mcBar").height($(".sticky-left-side").innerHeight());
	});
};
setMcBarHeight();
function deleteMessage(id) {
	$.ajax({
		type : "post",
		url : "/message/deleteMessage",
		data : {
			"id" : id
		},
		dataType : "json",
		success : function(data) {
			if (data.status == true) {
				alert(data.data);
				location.reload();
			}
		}
	})
}
var method;
method = function() {
	var pageNo = $("#pageNo").val();
	$.ajax({
		type : "post",
		url : "/message/dustbinListQuery",
		data : {
			"pageNo" : pageNo
		},
		success : function(data) {
			$("#mytable").html(data);
		}
	});
}